package com.rules.admin.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rules.admin.entity.PackagePermissions;
import com.rules.admin.entity.PermissionReference;
import com.rules.admin.entity.ProjectPermissions;

import java.util.List;

public interface PermissionReferenceDao extends BaseMapper<PermissionReference> {

    List<ProjectPermissions> selectProjectOfPermission(List<Long> ownerIds);

    List<PackagePermissions> selectPackageOfPermission(Long projectId, List<Long> ownerIds);
}
